﻿<%@ Page Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_QLSanPham.aspx.cs" Inherits="ppm_BaByShop.WebForm20" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ppm_BaByShopConnectionString2 %>" 
            OldValuesParameterFormatString="original_{0}" 
            SelectCommand="SELECT * FROM [SAN_PHAM]">
        </asp:SqlDataSource>
        <asp:DetailsView ID="DetailsView1" runat="server" AllowPaging="True" 
            AutoGenerateRows="False" DataKeyNames="ma_sp" DataSourceID="SqlDataSource1" 
            Height="50px" Width="125px">
            <Fields>
                <asp:BoundField DataField="ma_sp" HeaderText="ma_sp" ReadOnly="True" 
                    SortExpression="ma_sp" />
                <asp:BoundField DataField="ten_sp" HeaderText="ten_sp" 
                    SortExpression="ten_sp" />
                <asp:BoundField DataField="ma_nsx" HeaderText="ma_nsx" 
                    SortExpression="ma_nsx" />
                <asp:BoundField DataField="ma_loai_sp" HeaderText="ma_loai_sp" 
                    SortExpression="ma_loai_sp" />
                <asp:BoundField DataField="gia_ban" HeaderText="gia_ban" 
                    SortExpression="gia_ban" />
                <asp:BoundField DataField="sl_ton" HeaderText="sl_ton" 
                    SortExpression="sl_ton" />
                <asp:BoundField DataField="sl_ban" HeaderText="sl_ban" 
                    SortExpression="sl_ban" />
                <asp:BoundField DataField="luot_xem" HeaderText="luot_xem" 
                    SortExpression="luot_xem" />
                <asp:BoundField DataField="ma_tt_sp" HeaderText="ma_tt_sp" 
                    SortExpression="ma_tt_sp" />
                <asp:BoundField DataField="mo_ta" HeaderText="mo_ta" SortExpression="mo_ta" />
                <asp:BoundField DataField="hinh_anh" HeaderText="hinh_anh" 
                    SortExpression="hinh_anh" />
            </Fields>
        </asp:DetailsView>
    </p>
    <p>
        QUẢN LÝ SẢN PHẨM</p>
</asp:Content>
